import { Component, OnInit } from '@angular/core'
import { OrderStore } from './stores/order-store'

@Component({
  selector: 'app-orders',
  templateUrl: './orders.component.html',
  styleUrls: [ './orders.component.css' ]
})
export class OrdersComponent implements OnInit {

  constructor(public store: OrderStore) {
  }

  ngOnInit() {
    this.store.loadOrders()
  }

}
